package cn.weiyang.model;

import java.util.List;

/**
 * Created by Administrator on 2017/7/18.
 */
public class Page {
    /*每页条数*/
    private int pageSize;
    /*当前页码*/
    private int currPage;
    /*总条数*/
    private int totalNum;
    /*总页数*/
    private int totalPage;
    /*当前页记录列表*/
    private List<Object> result;
    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrPage() {
        return currPage;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<Object> getResult() {
        return result;
    }

    public void setResult(List<Object> result) {
        this.result = result;
    }
}
